home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2969 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: ix.netcom.com!netnews
  2. From: joe <jbdortch@ix.netcom.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Need Help with interrupts in Win32
  5. Date: 21 Jan 1996 02:06:34 GMT
  6. Organization: Netcom
  7. Message-ID: <4ds73a$p4d@ixnews2.ix.netcom.com>
  8. NNTP-Posting-Host: ix-orm-ut1-27.ix.netcom.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-NETCOM-Date: Sat Jan 20  6:06:34 PM PST 1996
  13. X-Mailer: Mozilla 1.1PE (Windows; I; 16bit)
  14.  
  15. i have recently begun using Borland C++ 4.0 and i am trying
  16. to convert some of my projects into 32 bit apps.  i made
  17. a lot of use of an old Borland function called Int86(),
  18. which used "union REGS" (anybody familiar with this)...
  19.  
  20. well... this function is not supported in Win32, so i am
  21. trying to find a suitable replacement.  i have tried the
  22. geninterrupt() function, but it keeps crashing on me and
  23. i'm not sure why... i think it might have something to do
  24. with cleaning up the registers when i'm done, i don't fully
  25. understand how to do this.  i have also tried inline
  26. assembly commands, but i don't have TASM32.exe.  can anyone
  27. point me in the right direction?  i just want a clean way
  28. to set/read/restore registers and generate an interrupt.
  29.  
  30. tia,
  31.  
  32.  
  33. joe    (jbdortch@ix.netcom.com)
  34.  
  35.